package com.example.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author zk
 * @since 2019-07-01
 */
public class AccDept implements Serializable {

    private static final long serialVersionUID = 1L;

    private String uuid;
    @TableId(value = "dept_id", type = IdType.AUTO)
    private Integer deptId;
    private String deptSn;
    private String deptName;
    //1 第三方 2本地
    private Integer kind;
    private Integer parentId;
    private Integer deptCase;
    private String memo;
    private Date gmtCreate;
    private Date gmtModified;
    @TableLogic
    private Integer isDel;


    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptSn() {
        return deptSn;
    }

    public void setDeptSn(String deptSn) {
        this.deptSn = deptSn;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getDeptCase() {
        return deptCase;
    }

    public void setDeptCase(Integer deptCase) {
        this.deptCase = deptCase;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "AccDept{" +
                "uuid=" + uuid +
                ", deptId=" + deptId +
                ", deptSn=" + deptSn +
                ", deptName=" + deptName +
                ", kind=" + kind +
                ", parentId=" + parentId +
                ", deptCase=" + deptCase +
                ", memo=" + memo +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", isDel=" + isDel +
                "}";
    }
}
